function convertWork(sname,v,o){
	window[sname] = null;
	
	var str = document.getElementById("leftT").value;
	str = str.replace(/\t/gi, "");

	var opts = "{\"indent_size\":\"4\",\"indent_char\":\" \",\"max_preserve_newlines\":\"5\",\"preserve_newlines\":true,\"keep_array_indentation\":false,\"break_chained_methods\":false,\"indent_scripts\":\"normal\",\"brace_style\":\"collapse\",\"space_before_conditional\":true,\"unescape_strings\":false,\"wrap_line_length\":\"0\",\"space_after_anon_function\":true}";
	var a = js_beautify(str,opts);
	
	document.getElementById("rightT").value = a;
}


$(document).ready(function(){
	document.getElementById("rightT").value = "";
});


var sheet = function(){
	this.CellValue=function(){
		var a = arguments;
		alert(a.length);
	};
};